import Layout from '@/layout'
// 仓储
const storageManagement = {
  path: '/storageManagement',
  component: Layout,
  name: 'storageManagement',
  meta: {
    title: '仓储管理',
    icon: 'tenant-manage',
    systemFlag: 'YY',
    breedType: ['YY']
  },
  children: [
    {
      path: '/inventory-changes',
      name: 'inventory-changes',
      component: () => import('@/views/storageManagement/inventory-changes/index'),
      meta: {
        systemFlag: 'YY',
        breedType: ['YY'],
        title: '库存变化查询', icon: 'inventory-changes'
      }
    },
    // {
    //   path: '/warehouse-manage',
    //   name: 'warehouse-manage',
    //   component: () => import('@/views/storageManagement/warehouse-manage/index'),
    //   meta: {
    //     systemFlag: 'YY',
    //     breedType: [],
    //     title: '仓储管理', icon: 'warehouse-manage'
    //   }
    // },
    // {
    //   path: '/out-storage',
    //   name: 'out-storage',
    //   component: () => import('@/views/storageManagement/out-storage/index'),
    //   meta: {
    //     systemFlag: 'YY', 
    //     breedType: [], 
    //     title: '出库', icon: 'out-storage'
    //   }
    // },
    // {
    //   path: '/put-in-storage',
    //   name: 'put-in-storage',
    //   component: () => import('@/views/storageManagement/put-in-storage/index'),
    //   meta: {
    //     systemFlag: 'YY',
    //     breedType: [],
    //     title: '入库', icon: 'put-in-storage'
    //   }
    // },
    // {
    //   path: '/material-batch',
    //   name: 'material-batch',
    //   component: () => import('@/views/storageManagement/material-batch/index'),
    //   meta: {
    //     systemFlag: 'YY',
    //     breedType: [],
    //     title: '物料批次', icon: 'material-batch'
    //   }
    // },
    {
      path: '/inventory-records',
      name: 'inventory-records',
      component: () => import('@/views/storageManagement/inventory-records/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '盘点', icon: 'inventory-records'
      }
    },
    {
      path: '/quantity-on-hand',
      name: 'quantity-on-hand',
      component: () => import('@/views/storageManagement/quantity-on-hand/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '现存量', icon: 'quantity-on-hand'
      }
    },
    {
      path: '/material-batch',
      name: 'material-batch',
      component: () => import('@/views/storageManagement/material-batch/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '物料批次', icon: 'material-batch'
      }
    },
    {
      path: '/put-in-storage',
      name: 'put-in-storage',
      component: () => import('@/views/storageManagement/put-in-storage/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '入库', icon: 'put-in-storage'
      }
    },
    {
      path: '/out-storage',
      name: 'out-storage',
      component: () => import('@/views/storageManagement/out-storage/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '出库', icon: 'out-storage'
      }
    },
    {
      path: '/warehouse-managetwo',
      name: 'warehouse-managetwo',
      component: () => import('@/views/storageManagement/warehouse-managetwo/index'),
      meta: {
        systemFlag: 'YY',
        breedType: [],
        title: '仓库管理', icon: 'warehouse-manage'
      }
    },

  ]
}
export default storageManagement;  